package com.hmall.search.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.dto.PageDTO;
import com.hmall.dto.RequestParams;
import com.hmall.pojo.Item;
import com.hmall.pojo.ItemDoc;
import org.springframework.web.bind.annotation.RequestParam;

import java.io.IOException;

public interface SearchService extends IService<Item> {
    PageDTO<ItemDoc> search(RequestParams requestParam) throws IOException;

    void updateES(Item item) throws IOException;
}
